<?xml version="1.0" encoding="utf-8" ?>
<!--Created with Liquid XML Studio (http://www.liquid-technologies.com)-->
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="pimv2" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <!-- Custom DataTypes for Editor Control -->
  <xs:include schemaLocation="file:custom_datatypes.xsd" />
  <!-- Predefined Complex Types that can be re-used through xsd:include -->
  <xs:include schemaLocation="file:Pimv2_types.xsd" />
  <!-- Predefined Composite Types that can be re-used through xsd:include -->
  <!-- Note: This construct fails as the StudeerOpdracht sample is not parsed any further -->
  <!-- <xs:include schemaLocation="file:pimv2_compositetypes.xsd" /> -->
  <xs:element name="EWB">
    <xs:complexType>
      <xs:sequence>
        <!--TheorieTaak-->
        <xs:element name="Theorietaak">
          <xs:annotation>
            <xs:documentation xml:lang="en">
              (Theorietaak) The documentation annotation type allows you to include basic
              documentation within the XSD schema source.
            </xs:documentation>
          </xs:annotation>
          <xs:complexType>
            <xs:sequence>
              <!--TheorieTaak.Introductie-->
              <xs:element xmlns:q1="pimv2" minOccurs="1" maxOccurs="1" name="Introductie" type="q1:Introductie">
                <xs:annotation>
                  <xs:documentation xml:lang="en">
                    (Introductie) The documentation annotation type allows you to include basic
                    documentation within the XSD schema source.
                  </xs:documentation>
                </xs:annotation>
              </xs:element>
              <!--TheorieTaak.Leerdoelen-->
              <xs:element xmlns:q1="pimv2" minOccurs="1" maxOccurs="1" name="Leerdoelen" type="q1:Leerdoelen" />
              <!--TheorieTaak.Studeeraanwijzingen-->
              <xs:element xmlns:q1="pimv2" minOccurs="0" maxOccurs="1" name="Studeeraanwijzingen" type="q1:Studeeraanwijzingen">
                <xs:annotation>
                  <xs:documentation xml:lang="en">
                    (Studeeraanwijzingen) The documentation annotation type allows you to include basic
                    documentation within the XSD schema source.
                  </xs:documentation>
                </xs:annotation>
              </xs:element>
              <!--TheorieTaak.Instrumenten-->
              <xs:element xmlns:q1="pimv2" minOccurs="0" maxOccurs="1" name="Instrumenten" type="q1:Instrumenten" />
              <!--TheorieTaak.Bronnen-->
              <xs:element xmlns:q1="pimv2" minOccurs="0" maxOccurs="1" name="Bronnen" type="q1:Bronnen" />
              <!--TheorieTaak.Casus-->
              <xs:element xmlns:q1="pimv2" minOccurs="1" maxOccurs="1" name="Casus" type="q1:Casus" />
              <!--TheorieTaak.IntakeOpdracht-->
              <xs:element minOccurs="0" maxOccurs="1" name="IntakeOpdracht">
                <xs:complexType>
                  <xs:sequence>
                    <!--TheorieTaak.IntakeOpdracht.Introductie-->
                    <xs:element xmlns:q1="pimv2" minOccurs="1" maxOccurs="1" name="Introductie" type="q1:Introductie" />
                    <!--TheorieTaak.IntakeOpdracht.Studeeraanwijzingen-->
                    <xs:element xmlns:q1="pimv2" minOccurs="0" maxOccurs="1" name="Studeeraanwijzingen" type="q1:Studeeraanwijzingen" />
                    <!--TheorieTaak.IntakeOpdracht.Casus-->
                    <xs:element xmlns:q1="pimv2" minOccurs="1" maxOccurs="1" name="Casus" type="q1:Casus" />
                    <!--TheorieTaak.IntakeOpdracht.Leerkern-->
                    <xs:element xmlns:q1="pimv2" minOccurs="1" maxOccurs="1" name="Leerkern" type="q1:Leerkern" />
                    <!--TheorieTaak.IntakeOpdracht.Bronnen-->
                    <xs:element xmlns:q1="pimv2" minOccurs="0" maxOccurs="1" name="Bronnen" type="q1:Bronnen" />
                    <!--TheorieTaak.IntakeOpdracht.Instrumenten-->
                    <xs:element xmlns:q1="pimv2" minOccurs="0" maxOccurs="1" name="Instrumenten" type="q1:Instrumenten" />
                    <!--TheorieTaak.IntakeOpdracht.Metadata-->
                    <xs:element xmlns:q1="pimv2" minOccurs="1" maxOccurs="1" name="Metadata" type="q1:MetaData" />
                  </xs:sequence>
                  <xs:attribute xmlns:q1="pimv2" name="ExportedAs" type="xs:string" fixed="Task" />
                </xs:complexType>
              </xs:element>
              <!--TheorieTaak.StudeerOpdrachten-->
              <xs:element minOccurs="1" maxOccurs="1" name="StudeerOpdrachten">
                <xs:complexType>
                  <xs:sequence>
                    <!--TheorieTaak.StudeerOpdrachten.StudeerOpdracht-->
                    <!-- Note: This construct fails as the StudeerOpdracht sample is not parsed any further
                    <xs:element minOccurs="3" maxOccurs="5" xmlns:q1="pimv2" type="q1:StudeerOpdracht" name="StudeerOpdracht" />
                    -->
                    <xs:element minOccurs="3" maxOccurs="5" name="StudeerOpdracht">
                      <xs:complexType>
                        <xs:sequence>
                          <!--TheorieTaak.StudeerOpdrachten.StudeerOpdracht.Introductie-->
                          <xs:element xmlns:q1="pimv2" minOccurs="1" maxOccurs="1" name="Introductie" type="q1:Introductie" />
                          <!--TheorieTaak.StudeerOpdrachten.StudeerOpdracht.Leerdoelen-->
                          <xs:element xmlns:q1="pimv2" minOccurs="1" maxOccurs="1" name="Leerdoelen" type="q1:Leerdoelen" />
                          <!--TheorieTaak.StudeerOpdrachten.StudeerOpdracht.Studeeraanwijzingen-->
                          <xs:element xmlns:q1="pimv2" minOccurs="0" maxOccurs="1" name="Studeeraanwijzingen" type="q1:Studeeraanwijzingen" />
                          <!--TheorieTaak.StudeerOpdrachten.StudeerOpdracht.Casus-->
                          <xs:element xmlns:q1="pimv2" minOccurs="1" maxOccurs="1" name="Casus" type="q1:Casus" />
                          <!--TheorieTaak.StudeerOpdrachten.StudeerOpdracht.Leerkern-->
                          <xs:element xmlns:q1="pimv2" minOccurs="1" maxOccurs="1" name="Leerkern" type="q1:Leerkern" />
                          <!--Theorietaak.StudeerOpdrachten.StudeerOpdracht.Bronnen-->
                          <xs:element xmlns:q1="pimv2" minOccurs="0" maxOccurs="1" name="Bronnen" type="q1:Bronnen" />
                          <!--TheorieTaak.StudeerOpdrachten.StudeerOpdracht.Instrumenten-->
                          <xs:element xmlns:q1="pimv2" minOccurs="0" maxOccurs="1" name="Instrumenten" type="q1:Instrumenten" />
                          <!--TheorieTaak.StudeerOpdrachten.StudeerOpdracht.Metadata-->
                          <xs:element xmlns:q1="pimv2" minOccurs="1" maxOccurs="1" name="Metadata" type="q1:MetaData" />
                        </xs:sequence>
                        <xs:attribute xmlns:q1="pimv2" name="ExportedAs" type="xs:string" fixed="Task" />
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                  <xs:attribute xmlns:q1="pimv2" name="ExportedAs" type="xs:string" fixed="Tasks" />
                </xs:complexType>
              </xs:element>
              <!--TheorieTaak.ZelftoetsOpdracht-->
              <xs:element minOccurs="0" maxOccurs="unbounded" name="ZelftoetsOpdracht">
                <xs:complexType>
                  <xs:sequence>
                    <!--TheorieTaak.ZelftoetsOpdracht.Introductie-->
                    <xs:element xmlns:q1="pimv2" minOccurs="1" maxOccurs="1" name="Introductie" type="q1:Introductie" />
                    <!--TheorieTaak.ZelftoetsOpdracht.Studeeraanwijzingen-->
                    <xs:element xmlns:q1="pimv2" minOccurs="0" maxOccurs="1" name="Studeeraanwijzingen" type="q1:Studeeraanwijzingen" />
                    <!--TheorieTaak.ZelftoetsOpdracht.Casus-->
                    <xs:element xmlns:q1="pimv2" minOccurs="1" maxOccurs="1" name="Casus" type="q1:Casus" />
                    <!--TheorieTaak.ZelftoetsOpdracht.Leerkern-->
                    <xs:element xmlns:q1="pimv2" minOccurs="1" maxOccurs="1" name="Leerkern" type="q1:Leerkern" />
                    <!--TheorieTaak.ZelftoetsOpdracht.Bronnen-->
                    <xs:element xmlns:q1="pimv2" minOccurs="0" maxOccurs="1" name="Bronnen" type="q1:Bronnen" />
                    <!--TheorieTaak.ZelftoetsOpdracht.Instrumenten-->
                    <xs:element xmlns:q1="pimv2" minOccurs="0" maxOccurs="1" name="Instrumenten" type="q1:Instrumenten" />
                    <!--TheorieTaak.ZelftoetsOpdracht.Criteria-->
                    <xs:element xmlns:q1="pimv2" minOccurs="1" maxOccurs="1" name="Criteria" type="q1:Criteria" />
                    <!--TheorieTaak.ZelftoetsOpdracht.Metadata-->
                    <xs:element xmlns:q1="pimv2" minOccurs="1" maxOccurs="1" name="Metadata" type="q1:MetaData" />
                  </xs:sequence>
                  <xs:attribute xmlns:q1="pimv2" name="ExportedAs" type="xs:string" fixed="Task" />
                </xs:complexType>
              </xs:element>
              <!--TheorieTaak.Metadata-->
              <xs:element xmlns:q1="pimv2" minOccurs="1" maxOccurs="1" name="Metadata" type="q1:MetaData" />
            </xs:sequence>
            <!--TheorieTaak.Attributes-->
            <xs:attribute xmlns:q1="pimv2" name="titel" type="xs:string" default="Vul hier de titel in" />
            <xs:attribute xmlns:q1="pimv2" name="studielast" type="xs:double"  fixed="1"/>
            <xs:attribute xmlns:q1="pimv2" name="ExportedAs" type="xs:string" fixed="Task" />
          </xs:complexType>
        </xs:element>
      </xs:sequence>
      <xs:attribute xmlns:q1="pimv2" name="titel" type="xs:string" default="EWB" />
      <xs:attribute xmlns:q1="pimv2" name="code" type="xs:string" default="A00000" />
      <xs:attribute xmlns:q1="pimv2" name="ExportedAs" type="xs:string" fixed="EWB" />
    </xs:complexType>
  </xs:element>
</xs:schema>